<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui"
	xmlns:pe="http://primefaces.org/ui/extensions">
<h:head>
	<meta http-equiv="content-type" content="text/html;   charset=UTF-8" />
</h:head>
<h:body>
	<ui:composition template="maintemplateTop.xhtml">
		<ui:define name="mainPageContainer">
			<div class="mainPageContainer">
				<!-- js file for each page -->
				<ui:insert name="js"></ui:insert>
				<!-- global setting -->
				<ui:debug render="true" hotkey="q" />

				<!-- header file -->
				<ui:insert name="header">
					<ui:include src="/header.xhtml"></ui:include>
				</ui:insert>

				<ui:insert name="leaderAd">
					<div class="ad leaderAd">
						<div style="float: left;">
							<!-- 728x90 ad -->
							<script type="text/javascript">
							<!--
								google_ad_client = 'ca-pub-8368630049697559';
								/* leaderboard */
								google_ad_slot = '8737212960';
								google_ad_width = 728;
								google_ad_height = 90;
							//-->
							</script>
							<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
								
							</script>
						</div>
						<div style="float: right">
							<script type="text/javascript">
							<!--
								google_ad_client = 'ca-pub-8368630049697559';
								/* 200x90 */
								google_ad_slot = '7143264211';
								google_ad_width = 200;
								google_ad_height = 90;
							//-->
							</script>
							<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
								
							</script>
						</div>
					</div>
				</ui:insert>


				<!--  ajax status-->
				<p:ajaxStatus style="width:16px;height:5px">
					<f:facet name="start">
						<h:graphicImage value="/resources/images/ai.gif" />
					</f:facet>

					<f:facet name="complete">
						<h:outputText value="" />
					</f:facet>
				</p:ajaxStatus>

				<!--Navigation-->
				<ui:insert name="navigation">
				</ui:insert>

				<p:messages id="globalMessageId" globalOnly="true" showDetail="false" autoUpdate="true"></p:messages>
				<p:growl id="growl" showDetail="true" />
				<div class="contentClass">
					<ui:insert name="content"></ui:insert>
				</div>
				<!--  the bottom of the page -->
				<ui:insert name="foot">
					<ui:include src="/foot.xhtml"></ui:include>
				</ui:insert>
			</div>
		</ui:define>
	</ui:composition>
</h:body>
</html>
